package org.window;

import javafx.scene.layout.*;

/**
 * 右边 首次搜索 / 再此搜索 / 终止搜索
 */
public class PaneAndHBoxFrameAndColumnVBoxAndPane {
    public static Pane pane = new Pane();
    public static void init(){
        pane.setPrefWidth(280);
        pane.setPrefHeight(50);
        pane.setLayoutX(200);
        pane.setLayoutY(165);
//        pane.setBackground(new Background(new BackgroundImage(new Image("fen1.png"), BackgroundRepeat.NO_REPEAT ,BackgroundRepeat.REPEAT, BackgroundPosition.CENTER, BackgroundSize.DEFAULT)));
//        pane.setBackground(new Background(new BackgroundImage(new Image("bgk.jpg"), BackgroundRepeat.NO_REPEAT ,BackgroundRepeat.REPEAT, BackgroundPosition.CENTER, BackgroundSize.DEFAULT)));

        pane.getChildren().addAll(
                PaneAndHBoxFrameAndColumnVBoxAndPaneAndHBox.hBox
        );
        PaneAndHBoxFrameAndColumnVBoxAndPaneAndHBox.init();
    }
}
